package com.spstudio.iforward.core.producer;

import java.util.logging.Logger;

import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;

import com.spstudio.iforward.core.qualifier.SPCoreLogged;

public class SPCoreLoggedProducer {
	
	@Produces
	@SPCoreLogged
	Logger produceLogger(InjectionPoint injectionPoint){
 		return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
	}
}
